<?php


namespace Xiaoguai\DesignPattern\DP022;


use Xiaoguai\DesignPattern\DP022\Element\ElementA;
use Xiaoguai\DesignPattern\DP022\Element\ElementB;

interface VisitorInterface
{
    public function visitElementA(ElementA $elementA);
    public function visitElementB(ElementB $elementB);
}